package com.jkoss.wine.merchant.service;

import com.jkoss.wine.merchant.entity.MerchantProductType;

import java.util.List;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;

/**
 * 商品分类 服务类
 * 
 * @Author 周华军
 * @Version 1.0, 2018-09-26
 * @See
 * @Since com.jkoss.wine.merchant.service
 * @Description: TODO
 */
public interface IMerchantProductTypeService extends IService<MerchantProductType> {

	List<MerchantProductType> selectByTypeId();

	public boolean insertProductType(MerchantProductType merchantProductType) throws Exception;

	public boolean deleteProductType(String[] id) throws Exception;

	public boolean updateProductType(MerchantProductType productType) throws Exception;

	public Integer getCount(String productTypeName, String merchantProductTypeId);

	Page selectVoByPage(Page page, Wrapper wrapper);

}
